<?php echo $this->Html->link('Agregar Estado', array('controller' => 'Repaires', 'action' => 'add')); ?>

<table>
    <tr>
        <th>Codigo</th>
        <th>Descripcion</th>
    </tr>


    <?php foreach ($repaires as $repair): ?>
    <tr>
        <td><?php echo $repair['Repaire']['codigo']; ?></td>
        <td>
            <?php echo $this->Html->link($repair['Repaire']['descripcion'],
array('controller' => 'Repaires', 'action' => 'view', $repair['Repaire']['id'])); ?>
        </td>
		<td>
            <?php echo $this->Html->link('Edit', array('action' => 'edit', $repair['Repaire']['id'])); ?>
        </td>

    </tr>
    <?php endforeach; ?>
    <?php unset($situacion); ?>
</table>